package com.zhiche.lisa.bms.dao.model.invoice;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 申请开票明细-账单
 * </p>
 *
 * @author liuanshun
 * @since 2018-09-27
 */
@TableName("lisa_invoice_apply_bill")
public class InvoiceApplyBill extends Model<InvoiceApplyBill> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 主表id
     */
	@TableField("head_id")
	private Long headId;
    /**
     * 账单id
     */
	@TableField("bill_code")
	private String billCode;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getHeadId() {
		return headId;
	}

	public void setHeadId(Long headId) {
		this.headId = headId;
	}

	public String getBillCode() {
		return billCode;
	}

	public void setBillCode(String billCode) {
		this.billCode = billCode;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "InvoiceApplyBill{" +
			", id=" + id +
			", headId=" + headId +
			", billCode=" + billCode +
			"}";
	}
}
